package com.quectel.core.module.grid.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author bob
 * @email bob.yu@quectel.com
 * @date 2023/02/03 15:45
 */
@Data
@Schema
public class GridMemberEvaluateDto implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
     * 网格员id
     */
    @Schema(description = "网格员id")
    private Long gridMemberId;

    /**
     * 评估年度
     */
    @Schema(description = "评估年度")
    private String assessYear;

    /**
     * 评估结果
     */
    @Schema(description = "评估结果")
    private Byte assessResult;

    @Schema(description = "评估生成时记录")
    private String assessRecordJson;

    /**
     *
     */
    @Schema(description = "评估人")
    private String assessor;

    @Schema(description = "评估时间")
    private Date evaluationTime;

    @Schema(description = "创建人")
    private String creator;

    /**
     *
     */
    @Schema(description = "")
    private Date createTime;

    /************非数据库字段 start ************/

    @Schema(description = "办结率")
    private String finishedRate;
    @Schema(description = "驳回率")
    private String rejectedRate;
    @Schema(description = "逾期率")
    private String expiredRate;
    @Schema(description = "网格员信息")
    private GridMemberDto gridMember;

    @Schema(description = "网格列表")
    private List<GridDto> grids;

    @Schema(description = "拼接页面展示的网格信息")
    private String gridNameString;

    /************非数据库字段 end **************/
}
